package week9.q1;

public class Test {
    public static void main(String[] args) {
        Bird bird=new Bird(4,"红色");
        Fish fish=new Fish(2,5);

        System.out.println(bird.info());
        System.out.println("我今年" + bird.getAge() + "岁了！");
        System.out.println(fish.info());
        System.out.println("我今年" + fish.getAge() + "岁了！");
    }


    }





